﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>注册</title>
    <link href="~/Content/UIstyle/register.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#imgCode").click(function () {
                //重新给src赋值，并且使之转化为链接，每次链接随机产生
                $("#imgCode").attr("src", "/Content/Verification.ashx?" + Math.random());
            });
        });

    </script>
</head>
<body>
     <div id="conent">
         
        <div id="login">
           <form action="/Login/register" method="post" >
               <p>@ViewBag.us</p>
               <p>@ViewBag.error</p>
            <table style="margin:0px auto;">
                
                <tr>
                    <td colspan="2" style="text-align:center;">
                        <img src="~/Content/images/logo3.png" width="340" height="150"/></td>
                </tr>
                <tr>
                    
                    <td colspan="2" style="text-align:center;"><span style="font-size:20px; color:red;width:80px;">注册</span>
                        已有账号？<a href="#" style="font-size:20px; color:red;text-decoration:none">立即登录</a></td>
                </tr>
                <tr>
                    
                    <td>账号：</td>
                    <td ><input type="text" name="LoginName" placeholder="请输入账号" style="width:260px;height:30px;  border:1px solid #d6d0d0;border-radius:5px;" /></td>
                </tr>
                <tr>
                    <td>密码：</td>
                    <td><input type="password" name="UserPwd" placeholder="请输入密码" style="width:260px;height:30px;border:1px solid #d6d0d0;border-radius:5px;"/></td>
                </tr>
                <tr>
                    <td>确认密码：</td>
                    <td><input type="password" name="pwd" placeholder="请再次输入密码" style="width:260px;height:30px;border:1px solid #d6d0d0;border-radius:5px;"/></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align:center;"><input type="text" name="verification" placeholder="请输入验证码" style="border:1px solid #d6d0d0;border-radius:5px; width:100px;height:30px;" />
                        <img id="imgCode"  src="~/Content/Verification.ashx"  />看不清</td>
                    
                </tr>
                <tr>
                    <td colspan="2" style="text-align:center"><input class="sub" type="submit" onclick="Login()" value="注册" style="background-color:red;width:300px;height:40px; border:1px solid red ;border-radius:5px; color:#fff;"/></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align:center"><a href="#" style="text-decoration:none;">找回密码</a>|<a href="#" style="text-decoration:none;">用户注册</a></td>
                    
                </tr>
            </table>
               </form>
        </div>
        <div class="footer">
	<p>
		<a href="#" >关于我们</a> |
		<a href="#" >联系我们</a> |
		<a href="#" >网站地图</a> |
		<a href="#" >版权声明</a> |
		<a href="#" >招聘信息</a> |
		<a href="#" >帮助中心</a> |
		<a href="#" >壁纸下载 </a> |
		<a class="color_gray" title="点击和学科网客服直接对话" target="_blank" href="#">在线客服</a>
	</p>
	<p id="copyright">Copyright ©2003-2018 All Rights Reserved. 学科网版权所有 京ICP备12013499</p>
</div>
    </div>
</body>
</html>
